package com.im.service.group.model.resp;

import com.im.service.group.model.req.GroupMemberDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

@Data
@ApiModel(description = "获取群信息响应")
public class GetGroupResp {

    @ApiModelProperty(value = "群ID")
    private String groupId;

    @ApiModelProperty(value = "应用ID")
    private Integer appId;

    @ApiModelProperty(value = "群主ID")
    private String ownerId;

    @ApiModelProperty(value = "群类型：1私有群（类似微信） 2公开群(类似qq）")
    private Integer groupType;

    @ApiModelProperty(value = "群名称")
    private String groupName;

    @ApiModelProperty(value = "是否全员禁言，0 不禁言；1 全员禁言")
    private Integer mute;

    @ApiModelProperty(value = "申请加群选项，0 表示禁止任何人申请加入；1 表示需要群主或管理员审批；2 表示允许无需审批自由加入群组")
    private Integer applyJoinType;

    @ApiModelProperty(value = "是否禁止私聊，0 允许群成员发起私聊；1 不允许群成员发起私聊")
    private Integer privateChat;

    @ApiModelProperty(value = "群简介")
    private String introduction;

    @ApiModelProperty(value = "群公告")
    private String notification;

    @ApiModelProperty(value = "群头像")
    private String photo;

    @ApiModelProperty(value = "群成员上限")
    private Integer maxMemberCount;

    @ApiModelProperty(value = "群状态，0正常 1解散")
    private Integer status;

    @ApiModelProperty(value = "群成员列表")
    private List<GroupMemberDto> memberList;
}

